package com.itheima52.mobilesafe.bean;

import android.graphics.Bitmap;
import android.graphics.drawable.Drawable;

public class AppInfo {

	// 表示一张图片
	// private Bitmap icon;
	// 能丢到drawable目录下都可以
	private Drawable icon;
	// 程序的名字
	private String apkName;
	// 程序的大小
	private long apkSize;
	// 表示是用户app还是系统app
	private boolean userApp;
	// 放置的位置
	private boolean isRom;
	// 包名
	private String apkPackageName;

	public Drawable getIcon() {
		return icon;
	}

	public void setIcon(Drawable icon) {
		this.icon = icon;
	}

	public String getApkName() {
		return apkName;
	}

	public void setApkName(String apkName) {
		this.apkName = apkName;
	}

	public long getApkSize() {
		return apkSize;
	}

	public void setApkSize(long apkSize) {
		this.apkSize = apkSize;
	}

	public boolean isUserApp() {
		return userApp;
	}

	public void setUserApp(boolean userApp) {
		this.userApp = userApp;
	}

	public boolean isRom() {
		return isRom;
	}

	public void setRom(boolean isRom) {
		this.isRom = isRom;
	}

	public String getApkPackageName() {
		return apkPackageName;
	}

	public void setApkPackageName(String apkPackageName) {
		this.apkPackageName = apkPackageName;
	}

	@Override
	public String toString() {
		return "AppInfo [icon=" + icon + ", apkName=" + apkName + ", apkSize="
				+ apkSize + ", userApp=" + userApp + ", isRom=" + isRom
				+ ", apkPackageName=" + apkPackageName + "]";
	}

}
